================================================================================
AIOS CORE v1.0.2 Changelog
Advanced Interface Optimization System
Author: Poorkingz
Date: 2026-05-11
================================================================================

FIXED - Codec System (Critical)
--------------------------------------------------------------------------------
- Core/Codec/Init.lua v1.0.3
  Rewrote as single unified registration. Removed duplicate empty stub.
  Added bulletproof Compress/Decompress that force string returns and
  cannot be corrupted by module loading order.

- Core/Codec/Compress.lua v1.0.6
  Fixed pcall arguments — was passing module table as self to plain
  functions. Added forced string return validation. Fixed fallback
  BasicDecompress to return table.concat(out) not table reference.

- Core/Codec/Hash.lua v1.0.4
  Fixed Compute/Hex to return actual strings instead of booleans.
  Added auto-detection of MD5/SHA1/SHA256 from _G globals with retry.
  Removed dependency on non-existent AIOS.Utils:DeepCopy.

- Core/Codec/Debug.lua v1.0.4
  Fixed test function to compare actual values, not boolean expressions.
  Now properly validates hash lengths and roundtrip data integrity.

- Core/Codec/Hash/MD5.lua
  Added _G.AIOS_Codec_MD5 = MD5 for Hash.lua auto-detection.

- Core/Codec/Hash/SHA1.lua
  Added _G.AIOS_Codec_SHA1 = SHA1 for Hash.lua auto-detection.

- Core/Codec/Hash/SHA256.lua
  Added _G.AIOS_Codec_SHA256 = SHA256 for Hash.lua auto-detection.

DELETED - Redundant/Dead Code
--------------------------------------------------------------------------------
- Core/Codec/Compression/Brotli.lua (broken hybrid)
- Core/Codec/Compression/Brotli/Full.lua (64-bit emulation broken)
- Core/Codec/Compression/Brotli/Init.lua
- Core/Codec/Compression/Brotli/Lite.lua
- Core/Codec/Compression/Brotli/Tables.lua
- Core/Codec/Compression/Checksum.lua (duplicated in Hash)
- Core/Codec/Compression/Entropy.lua (diagnostic only)
- Core/Codec/Compression/Huff.lua (superseded by Huffman.lua)
- Core/Codec/Hash/Init.lua (duplicated Hash.lua manager)
- Core/Codec/Hash/SHA512.lua ("simplified" = fake hash)

TEST RESULTS
--------------------------------------------------------------------------------
Base64 encode/decode:    PASS
Hex encode/decode:       PASS
RLE compress/decompress: PASS
MD5 hash (32 chars):     PASS
SHA1 hash (40 chars):    PASS
SHA256 hash (64 chars):  PASS
All 8/8 tests passing.

================================================================================